package com.example.broyue.music.data;

/**
 * Created by Bro.Yue on 2017/10/29.
 */

import java.util.ArrayList;


/*
 * MusicList类，采用单一实例
 * ֻ只能通过getMusicList方法获取
 * 共享，唯一的rrayList<Music>对象
 * */
public class MusicList {
    private static ArrayList<Music> musicArray=new ArrayList<>();
    private MusicList(){}
    public static ArrayList<Music> getMusicList(){
        return musicArray;
    }
}

